<template>
  <view class="detail-container">
    <view class="card-style">
      <rich-text 
        class="custom-rich-text" 
        :nodes="text.msg"
        :selectable="true"
      ></rich-text>
    </view>
  </view>
</template>

<script setup>
import { onLoad } from '@dcloudio/uni-app'
import {ref} from 'vue'

const text = ref()
onLoad((options) => {
	text.value=options
	  
	        text.value.msg = (text.value.msg)
	console.log(options)

})

</script>

<style scoped>
.detail-container {
  background: #f5f7fa;
  min-height: 100vh;
  padding: 20rpx;
}

.card-style {
  background: #fff;
  border-radius: 16rpx;
  box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.08);
  padding: 32rpx;
  margin: 20rpx 0;
}
</style>